package com.qfedu.meidijiaju.mapper;

import com.qfedu.meidijiaju.entity.Topic;
import com.qfedu.meidijiaju.entity.UserAndTopic;

import java.util.List;

public interface TopicMapper {
    List<UserAndTopic> queryTopic(int uid);

    int queryCount(int uid);

    boolean addTopic(UserAndTopic userAndTopic);

    boolean deleteTopic(UserAndTopic userAndTopic);
}
